<template>
  <div>访问失败：{{ errorMsg }}</div>
</template>
<script>
export default {
  data() {
    return {
      errorMsg: "未知错误",
    };
  },
  mounted() {
    this.errorMsg =
      Number(this.$route.query.errorCode) === 101
        ? "微信登录失败"
        : this.errorMsg;
  },
};
</script>
